package models

import (
	"time"
	"gopkg.in/mgo.v2/bson"
)

type TopInfo struct {
	Id bson.ObjectId `bson:"_id"`
	Title string `bson:"title"`
	Content string `bson:"content"`
	Summary string `bson:"summary"`
	ImgKey string `bson:"imgKey"`
	Status int `bson:"status"`
	PublishedAt time.Time `bson:"publishedAt"`
	Editor string `bson:"editor"`
	Verifier string `bson:"verifier"`
	Publisher string `bson:"publisher"`
	Author string `bson:"author"`
	Source string `bson:"source"`
	Keyword map[string]string `bson:"keyword"`
	Antonym string `bson:"antonym"`
	Stocks []string `bson:"sotcks"`
	Themes []string `bson:"themes"`
	FreeEffect bool `bson:"freeEffect"`
}